Fix bug #18545 with lack of scrolling a window when point goes out of view.
authorEli Zaretskii <eliz@gnu.org>
Mon, 29 Sep 2014 19:10:28 +0000 (22:10 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 29 Sep 2014 19:10:28 +0000 (22:10 +0300)
commit6f07e0b80e711137e976cc48f1e5ec28ae54df0a
tree3f2d1a492db98f35241e4dbce48f187e8139477b
parent8bd0c26be583230889513262a52e488a7ef03702
Fix bug #18545 with lack of scrolling a window when point goes out of view.

 src/xdisp.c (cursor_row_fully_visible_p): Update commentary.
 (redisplay_window): Treat the frame's frozen_window_starts flag
 the same way as the optional_new_start flag for the window: only
 obey it if the glyph row showing point will be fully visible.
 Likewise when the window start is in a continuation line.  If,
 after trying everything under the 'force_start' label, point is
 still not fully visible, give up and scroll the window.  Add
 debugging traces.
 src/window.c (Frecenter): Set the window's redisplay flag.
src/ChangeLog
src/window.c
src/xdisp.c